﻿namespace Model.Core.Entity
{


    /// <summary>
    /// 用于记录机器人工作运行记录
    /// </summary>
    public class JobRecord
    {
        public Guid Id { get; set; }
        /// <summary>
        /// 任务ID
        /// </summary>
        public string JobId { get; set; }

        public string RobotId { get; set; }


        public string? JobType { get; set; }
        /// <summary>
        /// 任务名称
        /// </summary>
        public string? JobName { get; set; }
        /// <summary>
        /// 任务开始时间
        /// </summary>
        public DateTime StartTime { get; set; }
        /// <summary>
        /// 任务结束时间
        /// </summary>
        public DateTime StopTime { get; set; }
        /// <summary>
        /// 任务结束方式
        /// </summary>
        public string? StopType { get; set; } = string.Empty;
    }
}
